*{
	margin: 0;
	padding: 0;
	list-style: none;
	text-decoration: none;
	box-sizing: border-box;
}
a{
	color: #333;
}
body{
	min-width: 320px;
	max-width: 640px;
	margin: 0 auto;
	font-family: "微软雅黑";
	font-size: 14px;
}
button,input[type='button']
,input[type='submit'],input[type='reset']{
	border: none;
	background-color: transparent;
	outline: none;
}
.h20{
	height: 20px;
}
.mbt40{
	margin-bottom: 60px!important;
}
.btn-theme{
	width: 80%;
	height: 40px;
	line-height:40px;
	text-align: center;
	border-radius: 4px;
	background-color:  #0ca7f7;
	color: #fff;
	font-size: 15px;
	margin: 20px auto;
	display: block;
}
.bg-idx{
	background-color:#e3f4fd;
}
.pbt0{
	padding-bottom: 0px!important;
}
.header{
	width: 100%;
	height: 44px;
	min-width: 320px;
	max-width: 640px;
	background-color: #0ca7f7;
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1000;
}
.header .title{
	font-size: 16px;
	line-height: 44px;
	text-align: center;
	color: #fff;
	font-weight: normal;
	padding: 0 60px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.header .icon{
	width: 36px;
	height: 36px;
	position: absolute;
	display: block;
	top: 4px;
	text-align: center;
	line-height: 36px;
	color: #fff;
	font-size: 20px;
}
.header .icon:first-child{
	left: 4px;
}
.header .icon:last-child{
	right: 4px;
}
.content{
	padding-top: 44px;
	padding-bottom: 50px;
}
.footer{
	width: 100%;
	height: 50px;
	min-width: 320px;
	max-width: 640px;
	background-color: #fafafa;
	border-top: 1px solid #eee;
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	justify-content: space-around;
	z-index: 1000;
}
.footer a{
	font-size: 14px;
	color: #777;
	flex: 1;
	text-align: center;
}
.footer a i{
	display: block;
	margin: 0 auto;
	text-align: center;
	font-size: 22px;
	margin-top: 5px;
}
.footer a.active{
	color: #0CA7F7;
}
/*提示框*/
#layer{
	position: fixed;
	bottom: 10%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100000;
}
#layer span{
	background-color: rgba(0,0,0,0.5);
	color: #fff;
	padding: 4px 10px;
	border-radius: 4px;
	min-width: 120px;
	display: inline-block;
	text-align: center;
}

/*首页*/
.swiper-container img{
	display: block;
	width: 100%;
}
.idx-menu{
	display: flex;
	justify-content: space-around;
	background-color: #fff;
	padding: 10px 0;
	margin-bottom: 10px;
}
.idx-menu a{
	text-align: center;
	font-size: 16px;
}
.idx-menu img{
	max-width: 60%;
}
.idx-menu h5{
	font-weight: normal;
}
.idx-title{
	height:40px;
	text-align: center;
	background-color: #fff;
}
.idx-title a{
	display: inline-block;
	background-color:#31507c;
	padding: 2px 20px;
	border-radius: 10px;
	color: #fff;
	margin-top: 10px;
}
.idx-good{
	overflow: hidden;
	padding: 10px 10px 0;
}
.idx-good li{
	float: left;
	width: 50%;
	margin-bottom: 10px;
}
.idx-good li:nth-child(odd){
	padding-right: 5px;
}
.idx-good li:nth-child(even){
	padding-left: 5px;
}
.idx-good li img{
	max-width: 100%;
	display: block;
}

/*分类页*/
.menu{
	min-width: 320px;
	max-width: 640px;
	position: relative;
	margin: 0 auto;
}
.menu-list{
	width: 25%;
	position: absolute;
	left: 0;
	background-color: #fff;
	border-right: 1px solid #ccc;
	text-align: center;
	overflow-y: scroll;
}
.menu-list li{
	line-height:44px;
	border-bottom: 1px solid #eee;
}
.menu-list li a{
	display: block;
}
.menu-list li.active a{
	color:#007AFF;
}
.menu-box{
	width: 75%;
	position: absolute;
	right: 0;
	overflow-y: scroll;
}
.menu-inner{
	padding: 10px 5px;
}
.menu-img{
	width: 100%;
	display: block;
	margin-bottom: 10px;
}
.menu-inner li{
	width: 50%;
	float: left;
	margin-bottom: 10px;
}
.menu-inner li:nth-child(odd){
	padding-right: 5px;
}
.menu-inner li:nth-child(even){
	padding-left: 5px;
}
.menu-inner li img{
	width: 100%;
	display: block;
}

/*列表页*/
.good-sx{
	width: 100%;
	min-width: 320px;
	max-width: 640px;
	height: 40px;
	position: fixed;
	background-color: #fff;
	left: 50%;
	top: 44px;
	transform: translateX(-50%);
	z-index: 1000;
}
.good-sx>a{
	display: block;
	width:28%;
	float: left;
	line-height: 40px;
	text-align: center;
}
.good-sx>a.active{
	color: #007AFF;
	font-weight: bold;
}
.good-sx>div{
	width:16%;
	float: left;
	height: 40px;
	position: relative;
}
.good-sx>div>span{
	line-height: 40px;
	display: block;
	text-align: center;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
.good-sx>div ul{
	position: absolute;
	top: 40px;
	right: 0px;
	width: 100px;
	padding-top: 5px;
	display: none;
}
.good-sx>div ul li a{
	display: block;
	line-height: 36px;
	text-align:center;
	border-bottom: 1px solid #eee;
	background-color: #fff;
}
.good-sx>div ul li:last-child a{
	border: none;
}
.good-sx.active>div ul{
	display: block;
}
.good-item{
	padding:50px 0 10px;
}
.good-item ul{
	position: relative;
	z-index: 0;
}
.good-item li{
	border: 1px solid #ccc;
	background-color: #fff;
	border-radius: 3px;
	overflow: hidden;
	padding-bottom:5px;
	position: absolute;
	z-index: -1;
	width: 50%;
}
.good-item li img{
	width: 100%;
}
.good-item li h3 {
	/*line-height: 36px;*/
	text-align: center;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	
}
.good-item li h3 a{
	font-size: 15px;
	color: #999;
	font-weight: normal;
	
}
.good-item li h4{
	color: #ed2943;
	padding: 0 10px;
	margin-top: 10px;
}
.good-item li h4 span{
	float: right;
	font-size: 20px;
}

#shop-car{
	width: 55px;
	height: 55px;
	border-radius: 50%;
	background-color: rgba(255,255,255,0.7);
	position: fixed;
	right: 20px;
	bottom: 40px;
	padding-left: 10px;
	box-shadow: 0 0 5px 3px rgba(0,0,0,0.3);
	
}
#shop-car a{
	color: red;
	line-height: 60px;
	font-size: 30px;
}
#shop-car i{
	position: absolute;
	width: 20px;
	height: 20px;
	font-size: 12px;
	line-height: 20px;
	text-align: center;
	color: #fff;
	border-radius: 50%;
	background-color:blue;
	font-style: normal;
	right: 2px;
	top: 10px;
}
.list-more{
	text-align: center;
	color: #999;
	line-height: 20px;
}

/*购物车*/
.car-list{
	padding-bottom: 40px;
}
.car-list .btn-shoping{
	display: block;
	background-color: #0CA7F7;
	color: #fff;
	border-radius: 5px;
	width: 200px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	margin: 100px auto;
}
.car-list li{
	background-color: #fff;
	margin-bottom: 10px;
	padding: 10px;
	padding-left: 36px;
	overflow: hidden;
	position: relative;
}
.car-list li .check{
	position: absolute;
	left:10px;
	top: 45%;
}
.car-list li .car-pic{
	width: 100px;
	height: 100px;
	float: left;
	margin-right: 10px;
}
.car-list li .car-pic img{
	width: 100px;
	height: 100px;
}
.car-list li .car-txt h3{
	font-weight: normal;
	font-size: 16px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp:2;
	overflow: hidden;
}
.car-list li .car-txt h3 a{
	color: #666;
}
.car-list li .car-txt h4{
	line-height: 30px;
	color:red;
	font-size: 16px;
}
.car-list li .car-txt>div span{
	float: right;
	font-size: 22px;
	margin-top: 5px;
}

.car-list li .act-num{
	font-size: 0px;
	display: inline-block;
}
.car-list li .act-num button{
	width: 40px;
	height: 30px;
	line-height: 30px;
	border:1px solid #eee;
	font-size: 26px;
	color: #eee;
}
.car-list li .act-num button:first-child{
	border-right: none;
}
.car-list li .act-num button:last-child{
	border-left: none;
}
.car-list li .act-num input{
	width: 40px;
	height: 30px;
	line-height: 30px;
	border: 1px solid #eee;
	text-align: center;
	vertical-align: top;
	outline: none;
}
.car-account{
	width: 100%;
	min-width: 320px;
	max-width: 640px;
	height: 40px;
	line-height: 40px;
	position: fixed;
	left: 50%;
	bottom: 50px;
	transform: translateX(-50%);
	background-color: #fff;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
}
.car-account .all-check,
.car-account .all-txt{
	padding: 0 20px;
}
.car-account .all-txt span{
	font-weight: bold;
	color: red;
}
.car-account a{
	padding: 0 20px;
	background-color:red;
	color: #fff;
}

/*用户中心*/
.user-header{
	background-color: #44BBF9;
	padding: 20px;
	text-align: center;
	margin-bottom: 10px;
}
.user-header img{
	border-radius: 50%;
	width: 80px;
	height: 80px;
	box-shadow: 0 0 5px 4px rgba(0,0,0,0.2);
}
.user-header h3{
	font-weight: normal;
	color:#fff;
	margin-top: 10px;
}
.user-menu{
	background-color: #fff;
}
.user-menu .user-tit{
	border-bottom: 1px solid #eee;
	line-height: 36px;
	color: #666;
	font-size: 15px;
	padding: 0 15px;
	font-weight:normal;
}
.user-menu .user-tit a{
	float: right;
	color: #666;
}
.user-menu .user-box{
	display: flex;
	justify-content: space-around;
	padding: 10px 0;
}
.user-menu .user-box a{
	text-align: center;
	flex: 1;
	display: block;
}
.user-menu .user-box a i{
	font-size: 40px;
	display: block;
	color: #0CA7F7;
}
.user-list{
	margin-top: 10px;
	
}
.user-list li{
	border-bottom: 1px solid #eee;
	line-height: 40px;
	padding: 0 15px;
	background-color: #fff;
} 
.user-list li a{
	display: block;
}
.user-list li i{
	margin-right: 10px;
	color: #007AFF;
}
.user-sc li{
	padding-left: 15px!important;
}
.user-sc li .car-pic,
.user-sc li img{
	width: 90px!important;
	height: 90px!important;
}
.user-info-list li{
	height: 40px;
	line-height: 40px;
	border-bottom: 1px solid #eee;
	padding: 0 15px;
	background-color: #fff;
	position: relative;
}
.user-info-list li span{
	display: inline-block;
	width: 20%;
	color: #666;
}
.user-info-list li input{
	float: right;
	height: 39px;
	border: none;
	line-height: 39px;
	text-align: right;
	outline: none;
	color: #666;
}
.user-info-list li img{
	width: 50px;
	height: 50px;
	float: right;
	margin-top: 5px;
}
.user-info-list li #file{
	width: 50px;
	height: 50px;
	float: right;
	margin-top: 5px;
	border-bottom: 1px solid red;
	background-color: red;
	font-size: 0px;
	border:none;
	position: absolute;
	right: 15px;
	opacity: 0;
}
.user-info-list li.lin60{
	height: 60px;
	line-height: 60px;
}
.user-info-list li input[readonly]{
	color: #aaa;
}

/*登录*/
.login .form-box{
	margin-top: 40px;
}
.login .form-group{
	width: 85%;
	display: block;
	margin: 10px auto;
	background-color: #fff;
	border-radius:5px;
	height: 44px;
	border: 1px solid #eee;
	line-height: 44px;
	padding-left: 10px;
	position: relative;
	overflow: hidden;
}
.login .form-box p{
	width: 85%;
	margin: 0 auto;
	text-align: right;
	color: #555;
}
.login .form-box p a{
	color:#0ca7f7;
}
.login .form-group i{
	font-size: 20px;
	margin-right: 10px;
	color: #777;
}
.login .form-group  input{
	height: 42px;
	line-height: 42px;
	border: none;
	outline: none;
	vertical-align: top;
	color: #777;
}
.login #code{
	padding-right: 100px;
}
.login #code img{
	position: absolute;
	width: 100px;
	height: 42px;
	right: 0;
	top: 0px;
}
.login .btn-login{
	width: 85%;
	height: 44px;
	line-height: 44px;
	color: #fff;
	text-align: center;
	margin: 40px auto 20px;
	background-color: #0ca7f7;
	border-radius: 4px;
	display: block;
}

.login .btn-login:last-child{
	background-color: #DADADA;
	color: #aaa;
	margin-top: 20px;
}
.autho{
	margin-top: 20px;
	padding: 10px 20px;
}
.autho h4{
	font-weight: normal;
	font-size: 15px;
	border-bottom: 1px solid #ddd;
	text-align: center;
	margin-bottom: 40px;
}
.autho h4 span{
	display: inline-block;
	width: 70%;
	background-color:#e3f4fd;
	position: relative;
	top: 10px;
	color: #999;
}
.autho div{
	display: flex;
	justify-content: space-around;
}
.autho div a img{
	max-width: 50px;
}
/*注册*/
.reg .form-group{
	width: 85%;
	display: block;
	margin: 10px auto;
	background-color: #fff;
	border-radius:5px;
	height: 44px;
	border: 1px solid #eee;
	line-height: 44px;
	padding: 0 10px;
	position: relative;
	overflow: hidden;
}
.reg .form-group input{
	height: 42px;
	outline: none;
	width: 100%;
	border:none;
	vertical-align: top;
}
.reg .form-box p{
	width: 85%;
	margin: 0 auto;
	text-align: right;
	color: #555;
}
.reg .form-box p a{
	color:#0ca7f7;
}
.reg .form-box .btn-reg{
	width: 85%;
	height: 44px;
	line-height: 44px;
	color: #fff;
	text-align: center;
	margin: 20px auto;
	background-color: #0ca7f7;
	border-radius: 4px;
	display: block;
}
.reg #code{
	padding-right: 130px;
}
.reg #code div{
	position: absolute;
	right: 0;
	top: 0;
	width: 120px;
	height: 42px;
	background-color: #0ca7f7;
	text-align: center;
	color: #fff;
	cursor: pointer;
}
.reg #code div.disabled{
	background-color:#eee;
	color: #999;

}

/*商品详情*/
.product-img img{
	display: block;
	width: 100%;
}
.product-txt{
	margin:10px 0;
	padding: 10px;
	background-color: #fff;
}
.product-txt h3{
	font-weight: normal;
}
.product-txt h4{
	margin-top:10px;
	display: flex;
	font-weight: normal;
	justify-content: space-between;
}
.product-txt h4 span b{
	color: red;
	font-weight: bold;
}
.product-info{
	background-color: #fff;
	margin-top: 10px;
}
.product-info .tab{
	padding: 5px 15px;
	overflow: hidden;
	background-color: #fff;
}
.product-info .tab span{
	float: left;
	display: inline-block;
	padding: 0 20px;
	width: 33.33%;
	text-align: center;
	line-height: 30px;
}
.product-info .tab span.active{
	border-bottom: 2px solid red;
	color: red;
}
.product-info .tab.fixed{
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	top: 44px;
	border-bottom: 1px solid #eee;
	width: 100%;
	z-index: 1000;
	min-width: 320px;
	max-width: 640px;
}
.product-info .box>div{
	display: none;
}
.product-info .box .box-xq{
	display: block;
}
.product-info .box-xq p{
	padding: 10px;
	color: #777;
}
.product-info .box-xq img{
	display: block;
	width: 100%;
}
.product-info .box-pj{
	padding-top: 10px;
}
.product-info .box-pj li{
	border-bottom: 1px solid #ddd;
}
.product-info .box-pj li h4{
	border-bottom: 1px solid #fafafa;
	display: flex;
	justify-content: space-between;
	padding: 0 10px;
	line-height: 40px;
	font-weight: normal;
	color: #888;
	font-size: 15px;
}
.product-info .box-pj li h4 img{
	width: 30px;
	height: 30px;
	position: relative;
	top: 5px;
}
.product-info .box-pj li h4 i{
	font-size: 13px;
}
.product-info .box-pj li p{
	font-size: 15px;
	padding: 5px 10px;
	line-height: 20px;
	text-indent: 1em;
	color: #666;
}
.product-info .box-pj>p{
	line-height: 36px;
	padding: 0 10px;
	border-top: 10px solid #e3f4fd;
	border-bottom: 10px solid #e3f4fd;
}
.product-info .box-pj>p a{
	display: block;
}
.product-info .box-pj>p span{
	float: right;
}
.product-info .box-wt p{
	padding: 20px 10px;
	color: #666;
}
.product-bot{
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	height: 50px;
	width: 100%;
	background-color: #fff;
	box-shadow: 0 0 3px 0px rgba(0,0,0,0.2);
	min-width: 320px;
	max-width: 640px;
}
.product-bot div{
	width: 20%;
	float: left;
	text-align: center;
	padding-top: 10px;
}
.product-bot div i{
	color: #777;
}
.product-bot div h4{
	font-weight: normal;
	color: #777;
}
.product-bot div.active i,
.product-bot div.active h4{
	color: red;
}

.product-bot a{
	width: 30%;
	float: left;
	text-align: center;
	display: block;
	line-height: 49px;
	color: #fff;
	font-size: 15px;
	
}
.product-bot a.btn-shop{
	background-color: #F96F1A;
}
.product-bot a.btn-buy{
	background-color: #FD2031;
}
#good-pj  .box-pj{
	padding-top: 0px;
	padding-bottom: 50px;
}
#good-pj .pj-input{
	height: 50px;
	width: 100%;
	min-width: 320px;
	max-width: 640px;
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0px;
	border-top: 1px solid #eee;
	background-color: #fff;
	padding-left: 36px;
	padding-right: 80px;
}
#good-pj .pj-input i{
	position: absolute;
	width: 30px;
	height:30px;
	line-height: 30px;
	top: 10px;
	left: 0px;
	text-align: center;
	font-size: 24px;
}
#good-pj .pj-input textarea{
	resize: none;
	font-size: 15px;
	width: 100%;
	height: 50px;
	line-height: 20px;
	padding:10px 5px;
	outline: none;
	border:none;
	font-family: "微软雅黑";
}
#good-pj .pj-input button{
	position: absolute;
	width: 60px;
	height: 40px;
	line-height: 40px;
	background-color:#0ca7f7;
	color: #fff;
	position: absolute;
	right: 10px;
	top: 5px;
	border-radius: 3px;
}